package com.alks.entity.data.entity;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_FINISH_OEM_OUT_DETAIL")
@ApiModel(value="PcFinishOemOutDetail对象", description="")
public class PcFinishOemOutDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工厂ID")
    private String vendorNo;

    @ApiModelProperty(value = "工厂名称")
    private String vendorName;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "出库日期")
    private LocalDateTime collectTime;

    @ApiModelProperty(value = "操作类型")
    private String collectType;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "配码")
    private BigDecimal groupNo;

    @ApiModelProperty(value = "剩余双数")
    private BigDecimal caseQty;

    @ApiModelProperty(value = "双数")
    private BigDecimal pairQty;

    @ApiModelProperty(value = "发票号")
    private String invoiceNo;

    @ApiModelProperty(value = "货柜号")
    private String containerNo;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "PO")
    private String poNo;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "加价")
    private BigDecimal addPrice;


}
